package com.lizx.framework.web.smart.framework.core.wrapper;

import java.lang.reflect.Method;

/**
 * controller映射对象包装器
 *
 * @Author: lizx
 * @Description:
 * @Date: Create in 2019/1/18 11:09 AM
 */
public class HandlerWrapper {
    /**
     * controller类
     */
    private Class<?> controllerClass;
    /**
     * method方法
     */
    private Method actionMethod;

    public HandlerWrapper(Class<?> controllerClass, Method actionMethod) {
        this.controllerClass = controllerClass;
        this.actionMethod = actionMethod;
    }

    public Class<?> getControllerClass() {
        return controllerClass;
    }

    public Method getActionMethod() {
        return actionMethod;
    }
}
